﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
    xmlns:n="http://nRoute/schemas/2010/xaml"    
    xmlns:controls="clr-namespace:Officer2013.Infrastructure.Controls;assembly=Officer2013.Infrastructure"
	xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" 
    n:Page.Title="Info Dialog"
	x:Class="Officer2013.Content.Views.InfoDialog"
	d:DesignHeight="680">

	<Grid x:Name="LayoutRoot">
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="380"/>
		</Grid.ColumnDefinitions>
		<Grid Background="#FFFFFFFF" Margin="10,0,10,0">
			<TextBlock Height="Auto" Margin="7,9,0,0" VerticalAlignment="Top" Text="Document Info" TextWrapping="NoWrap" FontFamily="Arial" FontSize="14" HorizontalAlignment="Left" FontWeight="Bold"/>
			<Path Fill="#FFFFFFFF" Stretch="Fill" Stroke="#FFC3C3C3" Height="1" Margin="6,30,6,0" VerticalAlignment="Top" UseLayoutRounding="False" Data="M0,30 L587,30" StrokeDashOffset="39" StrokeDashArray="2 2"/>
			<Grid Height="133" Margin="5,43,5,0" VerticalAlignment="Top">
				<Path Fill="#FFFFFFFF" Stretch="Fill" Stroke="#FFC3C3C3" Margin="0,130.2,0,0" UseLayoutRounding="False" Data="M0,30 L587,30" StrokeDashOffset="39" StrokeDashArray="2 2" Height="1" VerticalAlignment="Top"/>
				<TextBlock Height="Auto" HorizontalAlignment="Left" Margin="82,6,0,0" FontFamily="Arial" FontSize="16" Text="Untiled Blog Post" TextWrapping="NoWrap" VerticalAlignment="Top"/>
				<Image HorizontalAlignment="Left" Width="70" Source="../Icons/BlogPostTemplate.png" Stretch="Fill" Height="75" VerticalAlignment="Top"/>
				<Grid Margin="83,32,15,0" VerticalAlignment="Top">
					<Grid.RowDefinitions>
						<RowDefinition Height="22"/>
						<RowDefinition Height="22"/>
						<RowDefinition Height="23"/>
						<RowDefinition Height="22"/>
					</Grid.RowDefinitions>
					<Grid.ColumnDefinitions>
						<ColumnDefinition Width="103"/>
						<ColumnDefinition Width="*"/>
					</Grid.ColumnDefinitions>
					<TextBlock HorizontalAlignment="Stretch" VerticalAlignment="Center" FontFamily="Arial" Foreground="#FF6C6C6C" Text="Author" TextWrapping="Wrap"/>
					<TextBlock HorizontalAlignment="Stretch" Foreground="#FF6C6C6C" Text="Last Update On" TextWrapping="Wrap" VerticalAlignment="Center" Grid.Row="1" FontFamily="Arial" d:LayoutOverrides="Height"/>
					<TextBlock HorizontalAlignment="Stretch" Foreground="#FF6C6C6C" Text="Created On" TextWrapping="Wrap" Grid.Row="2" FontFamily="Arial" VerticalAlignment="Center" d:LayoutOverrides="Height"/>
					<TextBlock HorizontalAlignment="Stretch" Foreground="#FF6C6C6C" Text="File Path" TextWrapping="Wrap" Grid.Row="3" FontFamily="Arial" VerticalAlignment="Center" d:LayoutOverrides="Height"/>
					<TextBlock HorizontalAlignment="Stretch" VerticalAlignment="Center" FontFamily="Arial" Foreground="#FF000000" Text="Rishi" TextWrapping="Wrap" Grid.Column="1"/>
					<TextBlock HorizontalAlignment="Stretch" FontFamily="Arial" Foreground="#FF000000" Text="17th May 2009 9:30 PM" TextWrapping="Wrap" Grid.Column="1" VerticalAlignment="Center" Grid.Row="1" d:LayoutOverrides="Height"/>
					<TextBlock HorizontalAlignment="Stretch" FontFamily="Arial" Foreground="#FF000000" Text="17th May 2009 9:14 PM" TextWrapping="Wrap" Grid.Column="1" VerticalAlignment="Center" Grid.Row="2" d:LayoutOverrides="Height"/>
					<TextBlock HorizontalAlignment="Stretch" FontFamily="Arial" Foreground="#FF000000" Text="C:\Users\...\Blogs\May\" TextWrapping="Wrap" Grid.Column="1" VerticalAlignment="Center" Grid.Row="3" d:LayoutOverrides="Height"/>
				</Grid>
			</Grid>
			<ScrollViewer Margin="0,185,0,5" BorderThickness="0,0,0,0" VerticalScrollBarVisibility="Auto" Padding="0,0,0,0">
				<StackPanel Margin="0,5,0,5">
					<Grid Height="80" Width="348" Margin="0,0,0,10">
						<controls:ImageButton Height="Auto" HorizontalAlignment="Left" Margin="13,0,0,0" 
							VerticalAlignment="Top" Content="Save" Width="Auto" Style="{StaticResource DialogImageButtonTemplate}"
							ImageSource="../Icons/Save.png">
							<i:Interaction.Triggers>
								<i:EventTrigger EventName="Click">
									<n:ExecuteControllerAction Url="Shell/ShowBallon/SaveDocument"/>
								</i:EventTrigger>
							</i:Interaction.Triggers>
						</controls:ImageButton>
						<TextBlock Height="Auto" HorizontalAlignment="Left" Margin="107,7,0,0" VerticalAlignment="Top" FontFamily="Arial" FontSize="16" Text="Save Document" TextWrapping="NoWrap"/>
						<TextBlock Height="Auto" HorizontalAlignment="Left" Margin="107,28,0,0" FontSize="10.667" TextWrapping="Wrap" Width="230" Foreground="#FF5F5F5F" VerticalAlignment="Top"><Run Text="This saves"/><Run Text=" the document to the file system or something like that"/></TextBlock>
						<Path Fill="#FFFFFFFF" Stretch="Fill" Stroke="#FFC3C3C3" Height="1" Margin="6,0,6,0" VerticalAlignment="Bottom" UseLayoutRounding="False" Data="M0,30 L587,30" StrokeDashOffset="39" StrokeDashArray="2 2" HorizontalAlignment="Center"/>
					</Grid>
					<Grid VerticalAlignment="Top" Height="80" Width="348" Margin="0,0,0,10">
						<controls:ImageButton Height="Auto" HorizontalAlignment="Left" Margin="13,0,0,0" VerticalAlignment="Top" 
							Content="Save As" Width="Auto" Style="{StaticResource DialogImageButtonTemplate}"
							ImageSource="../Icons/SaveAs.png">
							<i:Interaction.Triggers>
								<i:EventTrigger EventName="Click">
									<n:ExecuteControllerAction Url="Shell/ShowBallon/SaveDocumentAs"/>
								</i:EventTrigger>
							</i:Interaction.Triggers>
						</controls:ImageButton>
						<TextBlock Height="Auto" HorizontalAlignment="Left" Margin="107,7,0,0" VerticalAlignment="Top" FontFamily="Arial" FontSize="16" Text="Save Document As ..." TextWrapping="NoWrap"/>
						<TextBlock Height="Auto" HorizontalAlignment="Left" Margin="107,28,0,0" FontSize="10.667" TextWrapping="Wrap" Width="230" Foreground="#FF5F5F5F" VerticalAlignment="Top"><Run Text="This saves"/><Run Text=" the document to the file system or something like that"/></TextBlock>
						<Path Fill="#FFFFFFFF" Stretch="Fill" Stroke="#FFC3C3C3" Height="1" Margin="6,0,6,0" VerticalAlignment="Bottom" UseLayoutRounding="False" Data="M0,30 L587,30" StrokeDashOffset="39" StrokeDashArray="2 2" HorizontalAlignment="Center"/>
					</Grid>
					<Grid Width="348" Margin="0,0,0,10" Height="80">
						<controls:ImageButton Height="Auto" HorizontalAlignment="Left" Margin="13,0,0,0" VerticalAlignment="Top" 
							Content="Open" Width="Auto" Style="{StaticResource DialogImageButtonTemplate}" 
							ImageSource="../Icons/Open.png"/>
						<TextBlock Height="Auto" HorizontalAlignment="Left" Margin="107,6,0,0" VerticalAlignment="Top" FontFamily="Arial" FontSize="16" Text="Open Document" TextWrapping="NoWrap"/>
						<TextBlock Height="Auto" HorizontalAlignment="Left" Margin="107,27,0,0" FontSize="10.667" TextWrapping="Wrap" Width="230" Foreground="#FF5F5F5F" Text="This opens a document from the file system or something like that" VerticalAlignment="Top"/>
						<Path Fill="#FFFFFFFF" Stretch="Fill" Stroke="#FFC3C3C3" Height="1" Margin="6,0,6,0" VerticalAlignment="Bottom" UseLayoutRounding="False" Data="M0,30 L587,30" StrokeDashOffset="39" StrokeDashArray="2 2" HorizontalAlignment="Center"/>
					</Grid>
					<Grid Width="348" Margin="0,0,0,10" Height="80">
						<controls:ImageButton Height="Auto" HorizontalAlignment="Left" Margin="13,0,0,0" VerticalAlignment="Top" 
							Content="Close" Width="Auto" Style="{StaticResource DialogImageButtonTemplate}" 
							ImageSource="../Icons/Close.png">
							<i:Interaction.Triggers>
								<i:EventTrigger EventName="Click">
									<n:ExecuteControllerAction Url="Shell/ShowBallon/CloseDocument"/>
								</i:EventTrigger>
							</i:Interaction.Triggers>
						</controls:ImageButton>
						<TextBlock Height="Auto" HorizontalAlignment="Left" Margin="107,7,0,0" VerticalAlignment="Top" FontFamily="Arial" FontSize="16" Text="Close Document" TextWrapping="NoWrap"/>
						<TextBlock HorizontalAlignment="Left" Margin="107,28,0,25" FontSize="10.667" TextWrapping="Wrap" Width="230" Foreground="#FF5F5F5F" Text="This closes the active document" VerticalAlignment="Stretch"/>
						<Path Fill="#FFFFFFFF" Stretch="Fill" Stroke="#FFC3C3C3" Height="1" Margin="6,0,6,0" VerticalAlignment="Bottom" UseLayoutRounding="False" Data="M0,30 L587,30" StrokeDashOffset="39" StrokeDashArray="2 2" HorizontalAlignment="Center"/>
					</Grid>
				</StackPanel>
			</ScrollViewer>
		</Grid>
	</Grid>
</UserControl>